
<div class="pageContent">


	<form method="post" action="__URL__/update/navTabId/__MODULE__?callbackType=closeCurrent" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<input type="hidden" name="user_id" value="<?php echo $_SESSION[C('USER_AUTH_KEY')] ?>"/>
		<input type="hidden" name="id" value="{$vo.id}" />
		<div class="pageFormContent" layoutH="58">
					
			<!-- 
			<div class="unit">
				<label>重置密码：</label>
				<input type="text" name="resetPwd" > <INPUT type="button" value="重置密码" onclick="resetPwd()" class="submit" style="height:25px">
			</div>
			-->
			
			<div class="unit">
				<label>用户名：</label>
				<input type="text" class="required" name="account" size="28" value="{$vo.account}">
			</div>
			
			<div class="unit">
				<label>昵称：</label>
				<input type="text" class="required" name="nickname" size="28" value="{$vo.nickname}">
			</div>
            <div class="unit">
                <label>Email：</label>
                <input type="text" name="email" size="28" maxlength="100" class="email" value="{$vo.email}">
            </div>
			<div class="unit">
				<label>QQ：</label>
				<input type="text" name="qq" size="28" maxlength="100" value="{$vo.qq}">
			</div>
			<div class="unit">
				<label>电话：</label>
				<input type="text" name="phone" size="28" maxlength="100" class="phone" value="{$vo.phone}">
			</div>
            <div class="unit">
                <label>部门：</label>
                <select name="department" class="required">
                    <option value=""></option>
                    <volist name='Think.config.departments' id="department">
                        <option value="{$key}" <?php echo $key == $vo['department'] ? 'selected' : '' ?>>{$department}</option>
                    </volist>
                </select>
            </div>
			<div class="unit">
				<label>状态：</label>
				<select class="small bLeft"  name="status">
					<option <eq name="vo.status" value="1" >selected</eq> value="1">启用</option>
					<option <eq name="vo.status" value="0" >selected</eq> value="0">禁用</option>
				</select>
			</div>
			
			<div class="unit">
				<label>备注：</label>
				<textarea class="large bLeft"  name="remark" rows="5" cols="57">{$vo.info}</textarea>
			</div>

		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">Submit</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">Cancel</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>

